package com.wyx.service;

import com.wyx.domain.OperLog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wyx.dto.OperLogDto;
import com.wyx.vo.DataGridView;

/**
 * @author xiaoxiong
 * @version 1.0
 * @date 2021/3/1 0:15
 */
public interface OperLogService {

    /**插入日志
     * @param operLog
     */
    void insertOperLog(OperLog operLog);

    /**
     * 查询日志列表
     * @param operLogDto
     * @return
     */
    DataGridView listForPage(OperLogDto operLogDto);

    /**
     * 根据日志id 查询日志
     * @param infoIds
     * @return
     */
    int deleteOperLogByIds(Long[] infoIds);


    /**
     * 情况所有日志
     * @return
     */
    int deleteAllOperLog();

}
